export default function toPage(history,route) {
        switch (route) {
            case '/home':
                history.push(route)
            case '/home/orther':
                history.push(route)
            case '/home/tree':
                history.push(route)
            case '/home/comment':
                history.push(route)
            case '/home/says':
                history.push(route)
            case '/home/about':
                history.push(route)
       }
    }
